from django.urls import path
from .views import GetOrders,GetPayOrderAPIView,Pay,Alipaycallback,OrderListAPIView,OrdersView

urlpatterns = [
    path('getorder/', GetOrders.as_view(), name='orders'),
    path('payorder/', GetPayOrderAPIView.as_view(), name='payorder'),
    path('pay/', Pay.as_view(), name='pay'),
    path('callback/', Alipaycallback.as_view(), name='alipaycallback'),
    path('orderlist/', OrderListAPIView.as_view(), name='orderlist'),
    path('orders/', OrdersView.as_view(), name='orders'),
]
